package com.woniu.airent.service;

import com.github.pagehelper.PageInfo;
import com.woniu.airent.dto.HouseDto;

import java.util.List;

public interface HouseService {
    String addHouse(HouseDto house);

    public PageInfo<HouseDto> showHouse(Integer pageNum, Integer sortMethod);

    HouseDto findHouseById(int id);

    List<HouseDto> findAllHouseByUserId(Integer userId);

    Integer changeHouseType(String houseNumber);
}
